Skip to content

Conversation

Computerdores
Copy link
Collaborator

@Computerdores Computerdores commented Jun 7, 2025

Summary

Splits the current preview panel into View and Controller in accordance with the proposal in #950.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added the Type: Refactor Code that needs to be restructured or cleaned up label Jun 7, 2025
@Computerdores Computerdores marked this pull request as ready for review June 7, 2025 21:59
@Computerdores Computerdores moved this to 🏓 Ready for Review in TagStudio Development Jun 7, 2025
@Computerdores
Copy link
Collaborator Author

Should be ready for review now

@CyanVoxel CyanVoxel added the Status: Review Needed A review of this is needed label Jun 7, 2025
@CyanVoxel CyanVoxel moved this from 🏓 Ready for Review to 👀 In review in TagStudio Development Jul 3, 2025
@CyanVoxel CyanVoxel self-assigned this Jul 3, 2025
Copy link
Member

@CyanVoxel CyanVoxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this! Everything looks good for the most part, just found one bug with the preview panel - when updating the name of a tag, visually it doesn't update and instead throws this error:

Traceback (most recent call last):
  File "/Users/cyanvoxel/Files/GitHub/TagStudio/src/tagstudio/qt/view/widgets/preview_panel_view.py", line 145, in set_selection
    if len(selected) == 0:
       ^^^^^^^^^^^^^
TypeError: object of type 'bool' has no len()

@CyanVoxel CyanVoxel removed the Status: Review Needed A review of this is needed label Jul 9, 2025
@Computerdores
Copy link
Collaborator Author

fixed!

Copy link
Member

@CyanVoxel CyanVoxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your work on this!

@CyanVoxel CyanVoxel merged commit 192af25 into TagStudioDev:main Aug 1, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in TagStudio Development Aug 1, 2025
@Computerdores Computerdores deleted the refactor/mvc-split-preview-panel branch August 3, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Refactor Code that needs to be restructured or cleaned up
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants